﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using System.Xml;
using PloobsEngine.Utils;
using PloobsEngine.Modelo;

namespace PloobsEngine.Physics.Bepu
{   
    public class DummyPhysicObject : BepuEntityObject
    {
         /// <summary>
        /// Serialization
        /// </summary>
     public DummyPhysicObject () : base(0)
     {
     }
     
     public override Vector3 Position
     {
         get
         {
             return Vector3.Zero;
         }
         set
         {
             throw new Exception("cannot has this property set");
         }
     }
     public override Microsoft.Xna.Framework.Matrix Rotation
     {
         get
         {
             return Matrix.Identity;
         }
         set
         {
             throw new Exception("cannot has this property set");
         }
     }
     public override BoundingBox BoundingBox
     {
         get
         {
             return new BoundingBox();
         }         
     }
     public override bool isMotionLess
     {
         get
         {
             return true;
         }
         set
         {
             throw new Exception("cannot has this property set");
         }
     }
     
     public override Vector3 Velocity
     {
         get
         {
             return Vector3.Zero;
         }
         set
         {
             throw new Exception("Sempre imovel");
         }
     }

     public override Matrix WorldMatrix
     {
         get
         {
            return Matrix.Identity;             
         }         

     }
        public override PhysicObjectTypes PhysicObjectTypes
        {
            get { return PhysicObjectTypes.GHOST; }
        }    
    }
}
